#include"DList.h"
void Test()
{
	DListNode* plist = NULL;
	DListInit(&plist);
	DListPushFront(&plist, 1);
	DListPushFront(&plist, 2);
	DListNode* pos = DListFind(plist, 1);
	DListInsertAfter(pos, 9);
	DListInsertBefore(pos, 8);
	DListErase(pos);
	//DListPushFront(&plist, 1);
	//DListPushFront(&plist, 2);
	//DListPushFront(&plist, 3);
	//DListPopFront(&plist);
	//DListPopFront(&plist);
	//DListPopFront(&plist);
	//DListPopFront(&plist);
	//DListPushBack(&plist, 1);
	//DListPushBack(&plist, 2);
	//DListPushBack(&plist, 3);
	//DListPopBack(&plist);
	//DListPopBack(&plist);
	//DListPopBack(&plist);
	DListPrint(plist);
	//DListDestroy(&plist);
	//DListPrint(plist);
}

int main() {
	Test();
	return 0;
}